﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Abp;

namespace DHJ.Cost
{
    public class CostCategoryConfig
    {
        public ICollection<CostConfigCategory> Categories { get; set; }
    }

    public class CostConfigCategory
    {
        public CostConfigCategory()
        {
            
        }

        public CostConfigCategory(string key, string value, ICollection<CostConfigType> types)
        {
            Key = key;
            Value = value;
            Types = types;
        }

        public CostConfigCategory(string key, string value)
        {
            Key = key;
            Value = value;
        }

        public string Key { get; set; }
        public string Value { get; set; }

        public ICollection<CostConfigType> Types { get; set; }
    }

    public class CostConfigType
    {
        public CostConfigType()
        {
            
        }

        public CostConfigType(string key, string value)
        {
            Key = key;
            Value = value;
        }

        public string Key { get; set; }
        public string Value { get; set; }
    }
}
